package com.hb.game.pk.api;


import com.hb.game.pk.beans.BankInfo;
import com.hb.game.pk.beans.ClickRedDean;
import com.hb.game.pk.beans.DoTxBean;
import com.hb.game.pk.beans.ErBaClickRedBean;
import com.hb.game.pk.beans.ErBaRoomStatus;
import com.hb.game.pk.beans.ErBaXiaZhuInfo;
import com.hb.game.pk.beans.ErBaZhuangJiaInfo;
import com.hb.game.pk.beans.FriendBean;
import com.hb.game.pk.beans.IndexGame;
import com.hb.game.pk.beans.Login;
import com.hb.game.pk.beans.NoticeBean;
import com.hb.game.pk.beans.NullBean;
import com.hb.game.pk.beans.OneData;
import com.hb.game.pk.beans.PaidBean;
import com.hb.game.pk.beans.QzBean;
import com.hb.game.pk.beans.ReceiveHBBean;
import com.hb.game.pk.beans.RechargeListBean;
import com.hb.game.pk.beans.RoomList;
import com.hb.game.pk.beans.RoomSendHBBean;
import com.hb.game.pk.beans.SLClickRed;
import com.hb.game.pk.beans.SYbean;
import com.hb.game.pk.beans.SendCode;
import com.hb.game.pk.beans.TJBean;
import com.hb.game.pk.beans.TXBean;
import com.hb.game.pk.beans.TransBean;
import com.hb.game.pk.beans.Update;
import com.hb.game.pk.beans.UrlBean;
import com.hb.game.pk.beans.XZBean;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface RedBag {

    @FormUrlEncoded
    @POST("app/login/sendcode")
    Call<SendCode> getCode(@Field("mobile") String mobile);

    @FormUrlEncoded
    @POST("app/login/mobile")
    Call<Login> loginMobile(@Field("mobile") String mobile, @Field("code") String code);

    @POST("app/index/index")
    Call<IndexGame> gameIndex();

    @POST("app/ucenter/index")
    Call<IndexGame> mineIndex();

    @FormUrlEncoded
    @POST("app/roomlist/index")
    Call<RoomList> rooms(@Field("gametype") String gametype);

    @POST("app/index/notice")
    Call<NoticeBean> notice();

    @FormUrlEncoded
    @POST("app/hongbao/getlist")
    Call<Map> inRoom(@Field("roomid") String roomid);

    @FormUrlEncoded
    @POST("app/hongbao/clickkickback")
    Call<SLClickRed> slClickRedBag(@Field("hongbao_id") String hongbao_id);

    @FormUrlEncoded
    @POST("app/jielong/clickkickback")
    Call<SLClickRed> jlClickRedBag(@Field("hongbao_id") String hongbao_id);

    @FormUrlEncoded
    @POST("app/hongbao/getrecivelist")
    Call<ClickRedDean> slClickResult(@Field("hongbao_id") String hongbao_id);

    @FormUrlEncoded
    @POST("app/jielong/getrecivelist")
    Call<ClickRedDean> jlClickResult(@Field("hongbao_id") String hongbao_id);

    @FormUrlEncoded
    @POST("app/ucenter/set_userinfo")
    Call<NullBean> changeHead(@Field("avatar") String headId);

    @FormUrlEncoded
    @POST("app/ucenter/set_userinfo")
    Call<NullBean> user_name(@Field("user_name") String user_name);

    //    @FormUrlEncoded
    @POST("app/ucenter/shouyi")
    Call<SYbean> tj();

    @FormUrlEncoded
    @POST("app/ucenter/pid_team")
    Call<TJBean> tjList(@Field("user_id") String user_id, @Field("counts") int counts);

    @POST("app/ucenter/zhifubao")
    Call<NullBean> zhifubao();

    @POST("app/ucenter/userinfo")
    Call<Login> userinfo();

    @FormUrlEncoded
    @POST("app/ucenter/zhifubao")
    Call<NullBean> bindZFB(@Field("name") String name, @Field("user_zfb") String user_zfb);

    @FormUrlEncoded
    @POST("app/zhifu/index")
    Call<UrlBean> txMoney(@Field("money") String name);

    @FormUrlEncoded
    @POST("app/hongbao/dosend")
    Call<NullBean> sendHB(@Field("roomid") String roomid, @Field("money") String money, @Field("bom_num") String bom_num);

    @POST("app/ucenter/getmoney")
    Call<NullBean> getmoney();

    @FormUrlEncoded
    @POST("app/hongbao/openkickback")
    Call<NullBean> openRed(@Field("hongbao_id") String name);

    @FormUrlEncoded
    @POST("app/index/update")
    Call<Update> update(@Field("currentversion") String currentversion);

    @FormUrlEncoded
    @POST("app/jielong/openkickback")
    Call<NullBean> jlopenRed(@Field("hongbao_id") String name);

    @FormUrlEncoded
    @POST("app/hongbao/recivelist")
    Call<ReceiveHBBean> recivelist(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/hongbao/sendlist")
    Call<ReceiveHBBean> sendlist(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/roomlist/room")
    Call<RoomSendHBBean> roomlist_room(@Field("roomid") String roomid);

    @FormUrlEncoded
    @POST("app/jielong/getlist")
    Call<Map> jielongRedList(@Field("roomid") String roomid);

    @FormUrlEncoded
    @POST("app/jielong/start")
    Call<NullBean> jielongStart(@Field("roomid") String roomid);

    @FormUrlEncoded
    @POST("app/login/login")
    Call<Login> loginPWD(@Field("username") String username, @Field("password") String password);

    @FormUrlEncoded
    @POST("app/ucenter/setpwd")
    Call<NullBean> setpwd(@Field("pwd") String pwd);

    @FormUrlEncoded
    @POST("app/usertransfer/index")
    Call<FriendBean> friendList(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/ucenter/rechargelist")
    Call<RechargeListBean> rechargelist(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/ucenter/paidlist")
    Call<PaidBean> paidlist(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/ucenter/txlist")
    Call<TXBean> txlist(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/usertransfer/transferinfo")
    Call<TransBean> transferinfo(@Field("p") int p);

    @FormUrlEncoded
    @POST("app/ucenter/get_renking")
    Call<Object> get_renking(@Field("type") int type);

    @POST("app/ucenter/sendzfcode")
    Call<NullBean> sendzfcode();

    @FormUrlEncoded
    @POST("app/ucenter/vrifyzfcode")
    Call<NullBean> vrifyzfcode(@Field("yzm") String yzm);

    @FormUrlEncoded
    @POST("app/ucenter/pay_pwd")
    Call<NullBean> pay_pwd(@Field("yzm") int yzm, @Field("zfb_pwd") int zfb_pwd);

    @FormUrlEncoded
    @POST("app/ucenter/set_paypwd")
    Call<NullBean> set_paypwd(@Field("yzm") int yzm, @Field("zfb_pwd") int zfb_pwd);

    @FormUrlEncoded
    @POST("app/ucenter/tx")
    Call<DoTxBean> tx(@Field("money") String money, @Field("zfb_pwd") int zfb_pwd);

    @FormUrlEncoded
    @POST("app/usertransfer/transfer")
    Call<NullBean> transfer(@Field("to_id") String to_id, @Field("money") String money, @Field("zfb_pwd") int zfb_pwd);

    @FormUrlEncoded
    @POST("app/usertransfer/search")
    Call<OneData> search(@Field("to_id") String to_id);

    @POST("app/hongbao/getpeople")
    Call<NullBean> getpeople();

    @GET("/app/ucenter/haibao")
    Call<String> haibao(@Query("uid") String uid);

    @GET("/app/ucenter/get_bank")
    Call<BankInfo> get_bank();

    @FormUrlEncoded
    @POST("app/ucenter/add_bank")
    Call<NullBean> add_bank(@Field("user_name") String user_name, @Field("bank_num") String bank_num, @Field("bank_info") String bank_info);

    @FormUrlEncoded
    @POST("app/erba/rob")
    Call<QzBean> erba_rob(@Field("roomid") String roomid, @Field("money") String money);

    @FormUrlEncoded
    @POST("app/erba/ble_money")
    Call<XZBean> erba_ble_money(@Field("room_id") String roomid, @Field("money") String money, @Field("chang_id") String chang_id);

    @FormUrlEncoded
    @POST("app/erba/click_hb")
    Call<ErBaClickRedBean> erba_click_hb(@Field("hongbao_id") String hongbao_id, @Field("chang_id") String chang_id);

    @FormUrlEncoded
    @POST("app/erba/get_hongbao")
    Call<NullBean> erba_get_hongbao(@Field("room_id") String room_id, @Field("hongbao_id") String hongbao_id, @Field("chang_id") String chang_id);

    @GET("/app/erba/xiazhuinfo")
    Call<ErBaXiaZhuInfo> erba_xiazhuinfo();

    @GET("/app/erba/zhuanginfo")
    Call<ErBaZhuangJiaInfo> erba_zhuanginfo();

    @GET("/app/message/messagenumber")
    Call<NullBean> messagenumber();

    @FormUrlEncoded
    @POST("/app/erba/get_status")
    Call<ErBaRoomStatus> erba_get_status(@Field("room_id") String room_id);

    @FormUrlEncoded
    @POST("/app/erba/xiazhuang")
    Call<NullBean> erba_xiazhuang(@Field("room_id") String room_id);

    @FormUrlEncoded
    @POST("/app/erba/getrecivelist")
    Call<ClickRedDean> erba_getrecivelist(@Field("hongbao_id") String hongbao_id);

    @FormUrlEncoded
    @POST("app/szww/getlist")
    Call<Map> shengZheRedList(@Field("roomid") String roomid);//胜者为王列表
}
